package com.sdhs.system.domain.dto;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdhs.common.annotation.Excel;
import com.sdhs.common.core.domain.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 消息阅读记录对象 
 *
 * @author mz
 * @date 2023-09-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class MessageInfoReadDTO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 阅读者
     */
    @Excel(name = "阅读者")
    private String readerNickName;

    /**
     * 阅读者ID
     */
    @Excel(name = "阅读者ID")
    private String readerUserName;

    /**
     * 阅读时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "阅读时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date readTime;

    /**
     * 业务单据ID
     */
    @Excel(name = "业务单据ID")
    private Long taskId;

    /**
     * 部门id
     */
    @Excel(name = "部门id")
    private String deptCode;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    private String deptName;

    /**
     * 公司id
     */
    @Excel(name = "公司id")
    private String companyCode;

    /**
     * 公司名
     */
    @Excel(name = "公司名")
    private String companyName;

    /**
     * 类型 1消息
     */
    @Excel(name = "类型 1消息")
    private String type;

    /**
     * 删除标识
     */
    private String delFlag;

    /**
     * 版本号
     */
    @Excel(name = "版本号")
    private Long version;

}
